package cn.inst.user.domain;

import java.io.Serializable;
import java.util.List;

public class Role implements Serializable{
    private Integer roleId;

    private String roleName;

    private String roleDesc;
    
    private List<Permission> permissionList;


	@Override
	public String toString() {
		return "Role [roleId=" + roleId + ", roleName=" + roleName + ", roleDesc=" + roleDesc + "]";
	}

	public List<Permission> getPermissionList() {
		return permissionList;
	}

	public void setPermissionLst(List<Permission> permissionList) {
		this.permissionList = permissionList;
	}

	public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getRoleDesc() {
        return roleDesc;
    }

    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc == null ? null : roleDesc.trim();
    }
}